package extend;

public class testOfSchoolMember {
    public static void main(String[] args) {
        //测试类
        //普通学生对象
        System.out.println("普通学生对象");
        ordinaryStudent os=new ordinaryStudent();
        os.HaveLesson();
        os.study();
        os.practice();
        System.out.println("___________");

        //班委对象
        System.out.println("班委对象");
        studentCadre sc=new studentCadre();
        sc.management();
        sc.HaveLesson();
        sc.study();
        sc.practice();
        System.out.println("___________");
        //java老师
        System.out.println("java老师对象");
        javaTeacher glb=new javaTeacher();
        glb.teachJava();
        glb.HaveLesson();
        glb.study();
        glb.answer();
        System.out.println("___________");

        //ai老师
        System.out.println("ai老师对象");
        aiTeacher cc=new aiTeacher();
        cc.teachAi();
        cc.study();
        cc.HaveLesson();
        cc.answer();
    }
}
